<%@ Assembly Name="TamTam.SharePoint.SolutionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ca549c8a37d5a903" %>

<%@ Page Language="C#" Inherits="TamTam.SharePoint.SolutionManagement.UI.AddSolution"
    MasterPageFile="~/_admin/admin.master" %>

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="AdminControls" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint.ApplicationPages.Administration" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="Add a Solution to this Farm"
        EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="Add a Solution to this Farm"
        EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" Text="Use this page to add a solution to this farm."
        EncodeMethod='HtmlEncodeAllowSimpleTextFormatting' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table class="ms-toolbar" cellpadding="2" cellspacing="0" border="0">
        <tr>
            <td class="ms-toolbar" nowrap="true">
                <table cellpadding="1" cellspacing="0" border="0">
                    <tr>
                        <td class="ms-toolbar" nowrap>
                            <a href="Solutions2.aspx" class="ms-toolbar" title="Manage solutions" accesskey="M">
                                <img border="0" src="/_layouts/images/RunBackup.gif" alt="Manage solutions" style="height: 16px;
                                    width: 16px; border-width: 0px;" />
                            </a>
                        </td>
                        <td class="ms-toolbar" nowrap>
                            <a href="Solutions.aspx" class="ms-toolbar" title="Manage solutions" accesskey="M">
                                Manage solutions</a>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="99%" class="ms-toolbar" nowrap>
                <img src="/_layouts/images/blank.gif" width="1" height="18" alt=""></td>
        </tr>
    </table>
    <table width="100%" class="propertysheet" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td class="ms-descriptionText">
            </td>
        </tr>
        <tr>
            <td class="ms-error">
                <asp:Literal ID="litError" runat="server" EnableViewState="false"></asp:Literal></td>
        </tr>
        <tr>
            <td class="ms-descriptionText">
            </td>
        </tr>
        <tr>
            <td>
                <img src="/_layouts/images/blank.gif" width="10" height="1" alt="" /></td>
        </tr>
    </table>
    <table width="100%" class="propertysheet" cellspacing="0" cellpadding="0" border="0">
        <table border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">
            <wssuc:InputFormSection TITLE="Add Solution" runat="server" description="Upload and add your solution.">
                <template_inputformcontrols>
					<tr>
						<td nowrap><SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" text="Solution file:" EncodeMethod='HtmlEncode'/></td>
						<td nowrap><asp:FileUpload ID="fuSolution" runat="server" ToolTip="Browse for your solution.wsp file." EnableViewState="true"/>&nbsp;</td>
					</tr>
					<tr>
						<td><IMG SRC="/_layouts/images/blank.gif" width=1 height=4 alt=""></td>
					</tr>
				</template_inputformcontrols>
            </wssuc:InputFormSection>
            <wssuc:ButtonSection runat="server">
                <template_buttons>
                    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" Text="Upload" id="butUpload" />					
				</template_buttons>
            </wssuc:ButtonSection>
        </table>
    </table>
</asp:Content>
